<?php

if(empty($cat)) {$cat = 'summary';}
if(empty($right_side)) {$right_side = '';}
if(empty($left_side)) {$left_side = '';}
if(empty($content)) {$content = '';}

$right_side = $right_side . quick_info('Quick Summary','
users count: '.get_users_count().'
<br>subtitles count: '.get_subtitles_count().'
<br>videos count: '.get_videos_count().'
');

$right_side = $right_side . "<br>" . quick_links('Quick Links','
<a href="http://sourceforge.net/projects/onlinesubtitles/forums/forum/1758498" target="_blank">Open Discussion</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><a href="http://sourceforge.net/tracker/?group_id=534975&atid=2172715" target="_blank">Bugs</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><a href="http://sourceforge.net/projects/onlinesubtitles/forums/forum/1758499" target="_blank">Help Forum</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><a href="http://sourceforge.net/tracker/?group_id=534975&atid=2172718" target="_blank">Feature Requests</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><a href="http://sourceforge.net/projects/onlinesubtitles/forums/forum/1761558" target="_blank">Security Forum</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><a href="http://sourceforge.net/tracker/?group_id=534975&atid=2172716" target="_blank">Support Requests</a>
');

$home_list[0][0] = 'summary';
$home_list[0][1] = 'index.php?page=home&cat=summary';
$left_side = $left_side . left_list('home',$home_list);

$content = $content . content_tabs($cat, "
                <div class='table'>
                    <table class='listing form' cellpadding='0' cellspacing='0'>
                        <tr>
                            <th class='full' colspan='2'>site statics</th>
                        </tr>
                        <tr>
                            <td width='172'><strong>users count:</strong></td>
                            <td>".get_users_count()."</td>
                        </tr>
                        <tr>
                            <td><strong>subtitles count:</strong></td>
                            <td>".get_subtitles_count()."</td>
                        </tr>
                        <tr>
                            <td><strong>videos count</strong></td>
                            <td>".get_videos_count()."</td>
                        </tr>
                    </table>
                </div>
				
");
?>
